<span class="title">登录 ——</span>
<a href="<?=$this->createUrl('user/register')?>" class="form_a">还没有账号？先去注册>></a>
<span class="error_msg"><?=$msg?></span>
<div class="form">
    <form action="<?=$this->createUrl('user/dologin')?>" method="post">
        <input class="text" id="username" type="text" name="username" value="<?=$username?>" placeholder="用户名">
        <input class="text" type="password" name="password" placeholder="密码">
        <input class="button" type="submit" value="登录">
    </form>
</div>
